#include <iostream>
#include "../libraries/team/player.h"
#include "math.h"

int main(int argc, char *argv[])

{
    //int X = atoi(argv[1]) ;
    //int Y = atoi(argv[2]);

        int X = -40, Y=-10;

    Player p2("Jins2");

    p2.move(X,Y);


    while(p2.parser.ball[0]==0)
    {
        p2.get_status();
        p2.turn(3);
    }

    while (1)
    {
        p2.get_status();
        //p2.follow_ball(20,-30);
        p2.kicktogoal();
        //p2.send_command();
    }

    return 0;
}
